<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>jquery end 函数</title>
		<script src="../js/jquery-3.4.1.min.js"></script>
		<script>
			$(function(){
				$("ul").find("li").find("a").css("font-size","60px").mouseover(function(){
					$(this).css("color","red");
				}).end().end().css("border","3px solid blue");
			});
		</script>
	</head>
	<body>
		<ul>
			<li><a href="#">苹果</a></li>
			<li><a href="#">桃子</a></li>
			<li><a href="#">lizi</a></li>
			<li><a href="#">香蕉</a></li>
			<li><a href="#">菠萝</a></li>
			<li><a href="#">西红柿</a></li>
		</ul>
	</body>
</html>